package com.doordu.clint;

import com.doordu.api.UserService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zxw
 * @date 2020/8/7 11:30
 */
@FeignClient(value = "PROVIDER-CLASS")
public interface UserClient {

    @GetMapping("/provider/{id}")
    void getPathValue(@PathVariable("id") Integer id);
}
